// import 'babel-polyfill'
let func = () => {}
[1, 2, 3].includes(8)
// es module
import sum from './sum.js'
// common.js
var minus = require('./minus')
// amd
require(['./muti.js'], function (muti) {
  console.log(`muti(2, 3)=${muti(2, 3)}`)
})

console.log(`sum(2, 3)=${sum(2, 3)}`)
console.log(`minus(2, 3)=${minus(2, 3)}`)

import  './css/index.css'
import  './css/style.scss'
let a = [1, 2, 3]
let b = a.filter(item => {
  return item > 1
}).map(item => {
  return item * 2
})
console.log(b)
// alert('111')
// document.querySelectorAll('body')[0].innerHTML = 'hello webpack'